﻿
namespace Service.src.Model.Folw
{

    /// <summary>
    /// 组件之间的连接
    /// </summary>
    public class Connection
    {

        /// <summary>
        /// 线 ID
        /// </summary>
        public int id { get; set; }

        /// <summary>
        /// 来源组件 ID
        /// 指输出点
        /// </summary>
        public int source { get; set; }

        /// <summary>
        /// 被连接的组件 ID
        /// 指输入点
        /// </summary>
        public int target { get; set; }

        /// <summary>
        /// 来源点
        /// </summary>
        public int sourcePort { get; set; }
    }
}
